<template>
    <div>
        <div>
            <h3>1.checked的基础用法</h3>
            <my-checkbox v-model="checked">aaa</my-checkbox>
        </div>
         <div>
            <h3>2.禁用状态</h3>
            <my-checkbox v-model="checked" :disabled="isDisabled">bbb</my-checkbox>
        </div>
    </div>
</template>

<script>
import MyCheckbox from '@/components/MyCheckbox'
    export default {
        components: { MyCheckbox },
        name: 'CheckboxView',
        data() {
            return {
                checked: true,
                isDisabled: true
            }
        },
     
    }
</script>

<style lang="scss" scoped>

</style>